package com.lanou.service;

import com.lanou.bean.Blog;
import com.lanou.bean.User;

/**
 * Created by dllo on 18/2/26.
 */
public interface UserService {
    /**
     * 注册
     * @param user
     */
    void regist(User user);

    /**
     * 登录
     * @return
     */
    User login(String name,String password);

    User selectuid(String name);
}
